package edu.berkeley.cs160.prog1;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class CharCreationDone extends Activity implements OnClickListener {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.charcreationdone);
        Button goBack = (Button) findViewById(R.id.button_back2);
        goBack.setOnClickListener((android.view.View.OnClickListener) this);
        Button goContinue = (Button) findViewById(R.id.button_capture);
        goContinue.setOnClickListener((android.view.View.OnClickListener) this);
    }
    
    public void onClick (View v) {
    	//Go to character creation screen
    	if (v==(Button) findViewById(R.id.button_back2)) {
    		finish();
    	} else {
    		Intent continueIntent = new Intent(this, LevelSelectionActivity.class);
    		this.startActivity(continueIntent);
    	}
    	//Intent characterIntent = new Intent();
    	//characterIntent.setClassName("edu.berkeley.cs160.prototype1", "edu.berkeley.cs160.protoype1.CharacterCreationActivity");
    	
    }

}
